<div ng-controller="RoomsCtrl" ng-init="orderinfoAction()" class="sui-form form-horizontal">
    <ul class="sui-breadcrumb">
        <li><a href="#/rooms/orderlist">{{'Order'| translate}}</a></li>
        <li class="active">{{'info' | translate}}</li>
    </ul>
    <div class="control-group">
        <label class="control-label v-top">{{'store'| translate}}：</label>
        <div class="controls">
            <store-list ng-model="order.store_id" stype="1"></store-list>
        </div>
    </div>
    <div class="control-group">
        <label class="control-label v-top"> {{'Orderid'| translate}}：</label>
        <div class="controls">
            <div class="zTreeDemoBackground">
                {{order.room_order_id}}
            </div>
        </div>
    </div>
    <div class="control-group">
        <label class="control-label v-top"> {{'total_payment'| translate}}：</label>
        <div class="controls">
            {{order.total_fee}}
        </div>
    </div>

    <div class="control-group">
        <label class="control-label v-top"> {{'支付金额'| translate}}：</label>
        <div class="controls">
            {{order.payment}}
        </div>
    </div>
    <div class="control-group">
        <label class="control-label v-top"> {{'支付时间'| translate}}：</label>
        <div class="controls">
            {{order.paid_time}}
        </div>
    </div>
    <div class="control-group">
        <label class="control-label v-top"> {{'入住人'| translate}}：</label>
        <div class="controls">
            {{order.check_in_person}}
        </div>
    </div>
    <div class="control-group">
        <label class="control-label v-top"> {{'mobile'| translate}}：</label>
        <div class="controls">
            {{order.mobile}}
        </div>
    </div>
    <div class="control-group">
        <label class="control-label v-top"> {{'入住时间'| translate}}：</label>
        <div class="controls">
            {{order.reserve_start_time | ddtt}} 至 {{order.reserve_end_time}}
        </div>
    </div>
    <div class="control-group">
        <label class="control-label v-top"> {{'最晚入住时间'| translate}}：</label>
        <div class="controls">
            {{order.check_in_time}}
        </div>
    </div>
    <div class="control-group">
        <label class="control-label v-top"> {{'订单状态'| translate}}：</label>
        <div class="controls" ng-if="order.status">
            <div class="sui-msg msg-tips">
                <div class="msg-con">
                    <order-status ng-model="order.status" stype="1"></order-status>
                </div>
                <s class="msg-icon"></s>
            </div>
        </div>
    </div>

    <div class="control-group">
        <label class="control-label v-top"> {{'Item'| translate}}：</label>
        <div class="controls">
            <table class="sui-table table-bordered" ng-show="order.son_data[0]" style="margin-bottom: 5px;">
                <thead>
                    <tr>
                        <th>{{'主图'| translate}}</th>
                        <th>{{'title'|translate}}</th>
                        <th>{{'num'| translate}}</th>
                        <th>{{'total_payment'| translate}}</th>
                    </tr>
                </thead>
                <tbody>
                    <tr ng-repeat="sku in order.son_data">
                        <td>
                            <img ng-src="{{sku.img}}" width="120">
                        </td>
                        <td>
                            {{sku.name}}
                            <br />
                            <span style="#ccc;">{{sku.tag_name}}</span>
                        </td>
                        <td>
                            {{sku.quantity}}
                        </td>
                        <td>
                            ￥{{sku.payment}}
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
    <div class="control-group" ng-show="order_ext_info">
        <label class="control-label v-top"> {{'订单附加信息'| translate}}：</label>
        <div class="controls">
            <table class="sui-table table-bordered" ng-show="order_ext_info" style="margin-bottom: 5px;">
                <thead>
                    <tr>
                        <th>{{'头像'| translate}}</th>
                        <th>{{'手机号'|translate}}</th>
                        <th>{{'微信'| translate}}</th>
                        <th>{{'QQ'| translate}}</th>
                        <th>{{'地址'| translate}}</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>
                            <img ng-src="{{order_ext_info.avatar}}" width="120">
                            <br> {{order_ext_info.nick_name}}
                        </td>
                        <td>
                            {{order_ext_info.mobile}}
                        </td>
                        <td>
                            {{order_ext_info.weixin}}
                        </td>
                        <td>
                            {{order_ext_info.qq}}
                        </td>
                        <td>
                            {{order_ext_info.province}} {{order_ext_info.city}} {{order_ext_info.district}} {{order_ext_info.address}}
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
    <div class="control-group" ng-show="order.shipping_corp && order.shipping_code">
        <label class="control-label v-top"> </label>
        <div class="controls">
            <print tid="{{order.order_id}}"></print>
        </div>
    </div>
    <!-- <div class="control-group" >
        <label class="control-label v-top"> </label>
        <div class="controls">
            <print-xiaopiao tid="{{order.order_id}}"></print-xiaopiao>
        </div>
    </div> -->

</div>